package demo;

public class Base{

    public int a = 1;
    public int b = 2;
    public int c = 3;

    public void methodA(){
        System.out.println("Base中的methodA()方法");
    }

    public void methodB(){
        System.out.println("Base中的methodB()方法");
    }

    public Base(int a) {
        System.out.println(a);
        System.out.println("父类的无参构造方法");

    }
}

